package com.ttg.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ttg.common.entities.BasePage;
import com.ttg.model.dto.ListConditionsTipsDto;
import com.ttg.model.pojo.ConditionsName;
import com.ttg.model.vo.ConditionTipsVo;
import com.ttg.model.vo.ConditionVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ZQ
 * @version 1.0
 * @Description
 * @date 2021/1/15 17:07
 */
public interface ConditionsNameMapper extends BaseMapper<ConditionsName> {
    List<ConditionVo> findConditionsNameAndDataType();

    BasePage<ConditionTipsVo> listConditionsTips(BasePage<ConditionTipsVo> page,@Param("reqDto") ListConditionsTipsDto reqDto);
}